/**
 * @description 存贮Token
 */
export const setToken = (props) => {
    localStorage.setItem('react_vite_project', JSON.stringify(props));
}

/**
 * @description 获取Token
 */
export const getToken = () => {
    return JSON.parse(localStorage.getItem('react_vite_project'))
}

/**
 * @description 删除Token
 */
export const removeToken = () => {
    localStorage.removeItem('react_vite_project')
}